package com.ruoyi.common.core.enums;

public enum DataScopeEnum {

    DATA_SCOPE_ALL("1", "全部数据权限"),
    DATA_SCOPE_CUSTOM("2", "自定义数据权限"),
    DATA_SCOPE_DEPT("3", "部门数据权限"),
    DATA_SCOPE_DEPT_AND_CHILD("4", "部门及以下数据权限"),
    DATA_SCOPE_SELF("5", "仅本人数据权限"),

    ;

    private final String val;
    private final String desc;

    DataScopeEnum(String val, String desc) {
           this.val = val;
           this.desc = desc;
    }

    public String getVal() {
        return val;
    }

    public String getDesc() {
        return desc;
    }
}
